@charset "UTF-8";
@import url(ag-font/iconfont.css);
@import url(effect-3.0.css);

/*==================== 锁屏样式 ====================*/
body.ag-lock-body {
    overflow: hidden;
}

.ag-mobile-body.ag-lock-body {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/*==================== 等待窗口 ====================*/
.ag-pop-wait {
    display: inline-block;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-animation: ag-scale-in .2s linear;
    -moz-animation: ag-scale-in .2s linear;
    -ms-animation: ag-scale-in .2s linear;
    -o-animation: ag-scale-in .2s linear;
    animation: ag-scale-in .2s linear;
}

.ag-pop-wait .agfont {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    color: #ff7f14;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    vertical-align: middle;
    -webkit-animation: ag-rotate 1s linear infinite;
    -moz-animation: ag-rotate 1s linear infinite;
    -ms-animation: ag-rotate 1s linear infinite;
    -o-animation: ag-rotate 1s linear infinite;
    animation: ag-rotate 1s linear infinite;
}

.ag-pop-wait .ag-wait-text {
    display: block;
    color: #444;
    margin-top: 5px;
    max-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*==================== 等待窗口[移动端样式] ====================*/
.ag-pop-mobile.ag-pop-wait {
    position: fixed;
    background-color: rgba(17, 17, 17, .7);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.ag-pop-mobile.ag-pop-wait .agfont {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 38px;
}

.ag-pop-mobile.ag-pop-wait .ag-wait-text {
    color: #ffffff;
    font-size: 14px;
    width: 80px;
    max-width: 80px;
}

/*==================== 弹窗控件 ====================*/
.ag-pop-container {
    display: block;
    -webkit-animation: ag-scale-in .2s linear;
    -moz-animation: ag-scale-in .2s linear;
    -ms-animation: ag-scale-in .2s linear;
    -o-animation: ag-scale-in .2s linear;
    animation: ag-scale-in .2s linear;
}

/*===== 关闭窗口过渡效果 =====*/
.ag-pop-container.closing {
    -webkit-animation: ag-scale-out .1s forwards;
    -moz-animation: ag-scale-out .1s forwards;
    -ms-animation: ag-scale-out .1s forwards;
    -o-animation: ag-scale-out .1s forwards;
    animation: ag-scale-out .1s forwards;
}

.ag-pop-container .ag-pop-box {
    display: block;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.ag-pop-mobile.ag-pop-container .ag-pop-box {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.ag-pop-container> i.ag-pop-close {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 34px;
    text-align: center;
    color: #ffffff;
    background-color: #d9534f;
    border: 3px solid #fff;
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 9;
    text-shadow: 1px 1px 1px rgba(0,0,0,.15);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

.ag-pop-container> i.ag-pop-close:hover, .ag-pop-container> i.ag-pop-close:focus {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.ag-pop-container> i.ag-pop-close:active, .ag-pop-container> i.ag-pop-close.active {
    background-color: #c9302c;
    -webkit-transform: scale(.85,.85);
    -moz-transform: scale(.85,.85);
    -ms-transform: scale(.85,.85);
    -o-transform: scale(.85,.85);
    transform: scale(.85,.85);
}

.ag-pop-mobile.ag-html.ag-pop-container> i.ag-pop-close {
    margin: 10px 0px 0px -20px;
    top: 100%;
    left: 50%;
}

/*===== 头部关闭按钮/标题容器 =====*/
.ag-pop-container .ag-pop-header {
    display: block;
    position: relative;
}

/*===== 头部标题样式 =====*/
.ag-pop-header .ag-pop-title {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    background-color: #ff7f14;
    margin: 0;
    padding: 0px 40px 0px 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px rgba(0,0,0,.15);
}

/*===== 标题旁关闭按钮样式 =====*/
.ag-pop-header i.ag-pop-close {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    margin: -8px 0 0 0;
    padding: 0;
    border: none;
    cursor: pointer;
    opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 9;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

/*有弹框关闭按钮交互*/
.ag-pop-header i.ag-pop-close:active, .ag-pop-header i.ag-pop-close:hover {
    color: #fff;
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

.ag-pop-header i.ag-pop-close:active, .ag-pop-header i.ag-pop-close.active {
    -webkit-transform: scale(.85, .85);
    -moz-transform: scale(.85, .85);
    -ms-transform: scale(.85, .85);
    -o-transform: scale(.85, .85);
    transform: scale(.85, .85);
}

/*===== 显示内容容器 =====*/
.ag-pop-container .ag-pop-body {
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
}

.ag-pop-container.ag-html .ag-pop-body {
    padding: 10px 0;
}

.ag-pop-container.ag-no-title.ag-html .ag-pop-body {
    padding: 15px 0px;
}

/*===== iframe加载等待样式 =====*/
.ag-iframe .ag-pop-body .ag-pop-loading {
    display: block;
    text-align: center;
    overflow: hidden;
}

.ag-pop-loading > .agfont {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    color: #ff7f14;
    -webkit-animation: ag-rotate 1s linear infinite;
    -moz-animation: ag-rotate 1s linear infinite;
    -ms-animation: ag-rotate 1s linear infinite;
    -o-animation: ag-rotate 1s linear infinite;
    animation: ag-rotate 1s linear infinite;
}

.ag-pop-container .ag-pop-content {
    display: block;
    padding: 15px;
    font-size: 14px;
    line-height: 1.7em;
    color: #444;
    word-wrap: break-word;
    word-break: break-all;
}

.ag-pop-container.ag-no-title .ag-pop-content {
    padding: 35px 15px 25px 15px;
}

.ag-pop-container.ag-html .ag-pop-content {
    padding: 0px 15px;
}

.ag-pop-container.ag-no-title.has-icon .ag-pop-body {
    padding-top: 20px;
}

.ag-pop-container.has-icon .ag-pop-content {
    margin-left: 50px;
}

.ag-pop-container.has-icon .ag-pop-content {
    padding: 15px;
}
/*单行显示效果*/
.ag-pop-container.has-icon .ag-pop-content.single {
    line-height: 40px;
}

/*警告,成功,错误提示前置图标*/
.ag-pop-body .agfont.ag-pop-wran, .ag-pop-body .agfont.ag-pop-success, .ag-pop-body .agfont.ag-pop-error {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
    margin: 15px 0px 0px 12px;
    float: left;
}

.agfont.ag-pop-wran {
    color: #f0ad4e;
}

.agfont.ag-pop-success {
    color: #5FB878;
}

.agfont.ag-pop-error {
    color: #d9534f;
}

.ag-pop-content a, .ag-pop-content b, .ag-pop-content strong {
    display: inline;
    font-weight: normal;
    color: #ff7f14;
}

.ag-pop-content a {
    text-decoration: underline;
}

.ag-pop-content a:active, .ag-pop-content a.active {
    opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
}

/*底部按钮容器*/
.ag-pop-bottom {
    display: block;
    padding: 0 10px 15px;
    text-align: center;
}

.ag-pop-bottom .ag-pop-btn {
    display: inline-block;
    min-width: 80px;
    padding: 6px 12px;
    margin: 0 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

/*确认按钮样式*/
.ag-pop-bottom .ag-pop-ok {
    color: #ffffff;
    background-color: #ff7f14;
    border-color: #ff7f14;
}

.ag-pop-bottom .ag-pop-ok:hover, .ag-pop-bottom .ag-pop-ok:focus, .ag-pop-bottom .ag-pop-ok:active, .ag-pop-bottom .ag-pop-ok.active {
    background-color: #ec730d;
    border-color: #ec730d;
}

/*取消按钮样式*/
.ag-pop-bottom .ag-pop-cancel {
    color: #444;
    background-color: #ccc;
    border-color: #ccc;
}

.ag-pop-bottom .ag-pop-cancel:hover, .ag-pop-bottom .ag-pop-cancel:focus, .ag-pop-bottom .ag-pop-cancel:active, .ag-pop-bottom .ag-pop-cancel.active {
    background-color: #aaa;
    border-color: #aaa;
}

.ag-pop-bottom .ag-pop-btn:active, .ag-pop-bottom .ag-pop-btn.active {
    -webkit-transform: scale(.9, .9);
    -moz-transform: scale(.9, .9);
    -ms-transform: scale(.9, .9);
    -o-transform: scale(.9, .9);
    transform: scale(.9, .9);
}

/*===== 移动端样式 =====*/
.ag-pop-mobile > i.ag-pop-wran, .ag-pop-mobile > i.ag-pop-success,.ag-pop-mobile > i.ag-pop-error{
    display: block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: #fff;
    font-size: 55px;
    margin: -40px 0px 0px -35px;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, .15);
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 9;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.ag-pop-mobile .ag-pop-header .ag-pop-title {
    color: #555;
    font-size: 1.2em;
    padding: 30px 15px 0 15px;
    height: auto;
    line-height: 1.7em;
    text-align: center;
    overflow: auto;
    white-space: normal;
    text-overflow: inherit;
    background-color: transparent;
}

.ag-pop-mobile.ag-iframe .ag-pop-header .ag-pop-title {
    padding: 10px 15px 0 15px;
    background-color: #ff7f14;
    color: #fff;
}

.ag-pop-mobile.ag-confirm .ag-pop-header .ag-pop-title {
    padding-bottom: 4px;
}

.ag-pop-mobile.ag-html .ag-pop-header .ag-pop-title {
    padding-top: 15px;
}

.ag-pop-mobile.mobile-has-icon .ag-pop-header .ag-pop-title {
    padding: 30px 15px 0 15px;
}

.ag-pop-mobile .ag-pop-content {
    color: #808080;
    font-size: 1.2em;
    text-align: center;
    padding: 0px 15px 20px 15px;
}

.ag-pop-mobile .ag-pop-bottom {
    padding: 0;
    margin: 0;
}

.ag-pop-mobile .ag-pop-bottom .ag-pop-btn {
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 1.2em;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    margin: 0;
    padding: 0;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ag-pop-mobile.ag-confirm .ag-pop-bottom .ag-pop-btn {
    width: 50%;
}

.ag-pop-mobile .ag-pop-bottom .ag-pop-btn:active, .ag-pop-mobile  .ag-pop-bottom .ag-pop-btn.active {
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -ms-transform: scale(1,1);
    -o-transform: scale(1,1);
    transform: scale(1,1);
}